package com.sen.mapper;

import com.sen.model.entity.BmsComment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sen.model.vo.CommentVO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 评论表 Mapper 接口
 * </p>
 *
 * @author ergou
 * @since 2021-04-14
 */
@Repository
@Mapper
public interface BmsCommentMapper extends BaseMapper<BmsComment> {

    /**
     * getCommentsByTopicID
     *
     * @param topicid
     * @return
     */
    List<CommentVO> getCommentsByTopicID(String topicid);
}
